package org.jeecg.modules.workflow.convert.oa;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.jeecg.common.workflow.vo.oa.BpmOALeaveCreateReqVO;
import org.jeecg.common.workflow.vo.oa.BpmOALeaveRespVO;
import org.jeecg.modules.workflow.entity.BpmOaLeave;

import java.util.List;

/**
 * 请假申请 Convert
 *
 * @author 芋艿
 */
public interface BpmOALeaveConvert {


    BpmOaLeave convert(BpmOALeaveCreateReqVO bean);

    BpmOALeaveRespVO convert(BpmOaLeave bean);

    List<BpmOALeaveRespVO> convertList(List<BpmOaLeave> list);

    IPage<BpmOALeaveRespVO> convertPage(IPage<BpmOaLeave> page);

}
